/* 底部导航按钮 */

header {
    background-color: #f2f2f2;
}

header ul li {
    height: 1.2rem;
    line-height: 1.2rem;
    text-align: center;
    display: none;
    color: #909399;
    position: relative;
    font-size: 0.5rem;
}

header ul li.active {
    display: block;
}

#footer {
    background-color: #f2f2f2;
}

#footer ul li {
    padding-top: 0.8rem;
    padding-bottom: 4px;
    background: url() no-repeat center 2px;
    background-size: auto 0.6rem;
    text-align: center;
    color: #909399;
}

#footer ul li.active {
    color: #008de1;
}

#footer ul li:nth-child(1) {
    background-image: url("../image/homePage/tab-home.png");
}

#footer ul li:nth-child(2) {
    background-image: url(../image/homePage/tab-cart.png);
}

#footer ul li:nth-child(3) {
    background-image: url(../image/homePage/tab-cate.png);
}

#footer ul li:nth-child(4) {
    background-image: url(../image/homePage/tab-my.png);
}

#footer ul li:nth-child(1).active {
    background-image: url(../image/homePage/tab-home-current.png);
}

#footer ul li:nth-child(2).active {
    background-image: url(../image/homePage/tab-cart-current.png);
}

#footer ul li:nth-child(3).active {
    background-image: url(../image/homePage/tab-cate-current.png);
}

#footer ul li:nth-child(4).active {
    background-image: url(../image/homePage/tab-my-current.png);
}

.flex-con {
    overflow: auto
}


/* 首页 banner */

.page-container {
    width: 100%;
}

.home-banner-swipper {
    width: 100%;
    height: 160px;
}

.home-banner-swipper .swiper-container {
    width: 100%;
    height: 100%;
}

.home-banner-swipper .swiper-container .swiper-slide img {
    height: 100%;
    width: 100%;
}


/* 消息通知 */

.home-notice-container {
    margin: .1rem;
    padding: .2rem;
    background: rgb(255, 251, 232);
    color: rgb(222, 140, 23);
    margin-top: 10px;
}


/* 分类 */

.cate-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
}

.cate-section .cate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    font-size: .32rem;
}

.cate-section .cate-item img {
    width: 1.2rem;
    height: 1.2rem;
    margin-bottom: .1rem;
    border-radius: 50%;
    opacity: .8;
    box-shadow: 2px 2px 10px #aadcf3;
}


/* 热门易货 */

.f-header {
    display: flex;
    align-items: center;
    height: 1.6rem;
    padding: 3px 15px 4px;
    border-bottom: 1px solid #f5f5f5
}

.f-header img {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-right: 10px;
}

.f-header .tit-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.f-header .tit {
    font-size: .36rem;
    color: #424242;
}

.f-header .tit2 {
    font-size: .3rem;
    color: #909399;
}


/* // 行业新闻 */

.news-group-section {
    margin-top: 5px;
    padding: 6px 12px;
    background: #fff;
}

.news-group-section .new-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px 5px;
    padding: 5px;
    background: #fff;
    font-size: .2rem;
    border-bottom: 1px solid #f7f7f7;
}

.new_hd {
    width: 100%;
}

.new_hd .new_hd_title {
    font-size: .34rem;
    color: #333333;
}

.new_hd .new_hd_time {
    color: #666666;
    font-size: .25rem;
    margin-top: 5px;
}

.new_bd .new-img-bx {
    overflow: hidden;
    width: 3rem;
    height: 2rem;
    border-radius: 5px;
}

.new_bd .new-img-bx img {
    width: 100%;
    height: 100%;
    background-size: 100%;
}

.hoot-group-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0;
    padding: 15px 11px;
    background: #FFFFFF;
}

.hoot-group-section .item-good {
    padding: 10px 5px;
    width: 30%;
    border-right: 1px solid #f8f8f8;
    text-align: center;
}

.hoot-group-section .item-good:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid #f8f8f8;
}

.hoot-group-section .item-good:nth-child(6) {
    border-right: none;
}

.hoot-group-section .item-good:nth-child(1) {
    border-bottom: 1px solid #f8f8f8;
}

.hoot-group-section .item-good:nth-child(2) {
    border-bottom: 1px solid #f8f8f8;
}

.hoot-group-section .item-good .good-name {
    font-size: .32rem;
}

.hoot-group-section .item-good .good-price {
    font-size: .36rem;
    color: red;
    margin: .1rem;
}

.hoot-group-section .item-good .good-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .28rem;
    padding: 0 0.3rem;
}

.hoot-group-section .item-good .good-rate .good-rate-right {
    color: #09BB07;
}


/* 新闻资讯 */

.news-page-container .navbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    display: flex;
    height: 40px;
    padding: 0 5px;
    overflow-y: hidden;
    z-index: 10;
    white-space: nowrap;
    overflow-x: auto;
}

.navbar .nav-item {
    padding: 0 10px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    line-height: 40px;
    font-size: 15px;
}

.navbar .nav-item.active {
    border-bottom: 2px solid #008de1;
    color: #008de1;
}


/* 新闻详情 */

.new-detail-page-container {}


/* 我的 */

.may-page-container {
    display: block;
    box-sizing: border-box;
    width: 100%;
}

.may-page-container .user-section {
    height: 180px;
    padding: 50px 15px 0;
    overflow: hidden;
    position: relative;
}

.may-page-container .user-section .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    -webkit-filter: blur(1px);
    filter: blur(1px);
    opacity: .7;
}

.may-page-container .user-section .bg img {
    width: 100%;
}

.user-info-box {
    height: 90px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.user-info-box .portrait {
    width: 65px;
    height: 65px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.user-info-box .username {
    font-size: 21px;
    color: #303133;
    margin-left: 10px;
}

.cover-container {
    width: 100%;
    background: #f8f8f8;
    margin-top: -70px;
    position: relative;
    background: #f5f5f5;
    padding-bottom: 10px;
    transform: translateY(0px);
    transition: all 0s ease 0s;
}

.cover-container .arc {
    position: absolute;
    left: 0;
    top: -17px;
    width: 100%;
    height: 18px;
}

.cover-container .arc div {
    background-position: 0% 0%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url("../image/homePage/arc.png");
}

.cover-container .arc img {
    width: 100%;
    height: 100%;
}